package com.rjs.rpc.framework;

import com.rjs.rpc.invoke.ConsumerProxy;
import com.rjs.rpc.service.HelloService;

public class RPCConsumerMain {
	
	public static void main(String[] args) throws Exception {
		HelloService consume = ConsumerProxy.consume(HelloService.class, "127.0.0.1", 8083);
		for (int i = 0; i < 100; i++) {
			System.out.println(consume.sayHello("Rose" + i));
		}
	}
}
